Skip to main content
POST
Store the pre-signed Bitcoin claim or refund — body: { kind: "claim" | "refund", toAddress, levels: [{ feeSats, psbtBase64, signaturesHex }] }

Authorizations

Authorization
string
header
required

An API key (hk_live_… / hk_test_…) with read/taker/maker scopes. read is read-only: every write except webhooks needs taker or maker (403 otherwise), and either of those can read too. Creating RFQs and listing tokens need taker; quoting needs maker.

Path Parameters

id
string
required
leg
enum<string>
required
Available options:
a,
b

Body

application/json
kind
enum<string>
required
Available options:
claim,
refund
toAddress
string
required
levels
object[]
required
Required array length: 1 - 3 elements

Response

ok

swap
object

leg a = what the maker gives, leg b = what the maker wants